
body{
    background: #f2f2f2;
}
// 顶部导航栏
.top-bar{
    background: #333;
    color: #fff;
    width: 100%;
    height: 40px;
    position: sticky;
    top:0;
    z-index: 2;
    .top-box{
        font-size: 12px;
        height: 40px;
        margin: 0 auto;
        max-width: 1240px;
        text-align: left;

        .top-nav-list{
            float: left;
            height: 100%;
            a{
                box-sizing: border-box;
                color: #fff;
                cursor: pointer;
                display: inline-block;
                height: 100%;
                line-height: 20px;
                margin-right: 25px;
                padding: 10px 0;
            }
        }
        .top-user-box{
            float: right;
            height: 100%;
            .user-box{
                position: relative;
                float: left;
                .text-lnk{
                    box-sizing: border-box;
                    color: #fff;
                    cursor: pointer;
                    display: inline-block;
                    height: 100%;
                    line-height: 20px;
                    margin-right: 25px;
                    padding: 10px 0;
                    text-align: center;
                }
                .user-more-list{
                    width: 100px;
                    background: #fff;
                    border-radius: 4px;
                    box-shadow: 0 0 8px -4px rgb(0,0,0,0.5);
                    display: none;
                    position: absolute;
                    left: 50%;
                    top: 5px;
                    margin-left: -50px;
                    padding: 0 10px;
                    .user-name{
                        font-weight: 700;
                        // overflow: hidden;
                        text-overflow: ellipsis;
                        color: #666;
                    }
                    a{
                        color: #666;
                        display: block;
                        box-sizing: border-box;
                        height: 30px;
                        text-align: center;
                        line-height: 20px;
                        padding: 5px 0;
                    }
                }
                .loginAndRegister{
                    float: left;
                    // width: 100px;
                    height: 40px;
                    line-height: 40px;
                    span{
                        float: left;
                        // width: 100px;
                        display: block;
                        color: #fff;
                    }
                    a{
                        float: left;
                        display: block;
                        color: #fff;
                        margin-left: 20px;
                    }
                }
            }
            .cart-box{
                position: relative;
                float: right;
                .text-lnk{
                    box-sizing: border-box;
                    color: #fff;
                    cursor: pointer;
                    display: inline-block;
                    height: 40px;
                    line-height: 22px;
                    margin-left: 20px;
                    padding: 9px 0;
                    text-align: center;
                    width: 44px;
                    .index-icon{
                        background-position: -110px -49px;
                        height: 22px;
                        margin: -1px 0;
                        vertical-align: top;
                        width: 24px;
                        background-image: url(../images/index02.png);
                        background-repeat: no-repeat;
                        background-size: 200px 240px;
                        display: inline-block;
                    }
                }
                .cart-detail-box{
                    background: #fff;
                    border-radius: 0 0 4px 4px;
                    box-shadow: 0 0 8px -4px rgb(0,0,0,0.5);
                    display: none;
                    position: absolute;
                    right: 0;
                    top: 44px;
                    width: 295px;
                    .text-lnk{
                        box-sizing: border-box;
                        cursor: pointer;
                        display: inline-block;
                        margin-right: 0;
                        line-height: 22px;
                        margin-left: 20px;
                        padding: 9px 0;
                        text-align: center;
                        width: 44px;
                        height: 40px;
                        background-color: #fff;
                        border-radius: 4px 4px 0 0;
                        position: absolute;
                        right: 0;
                        top: -40px;
                        .index-icon{
                            background-position: -140px -49px;
                            background-image: url(../images/index02.png);
                            background-repeat: no-repeat;
                            background-size: 200px 240px;
                            display: inline-block;
                            margin-top: -4px;
                            height: 22px;
                            margin: -1px 0;
                            vertical-align: top;
                            width: 24px;

                        }
                    }
                    .js_cart_box{
                        .cart-box-text{
                            color: #333;
                            padding: 30px 0;
                            text-align: center;
                        }
                    }
                }
            }
            
        }
    }
}
// 网页头部
.header-wrapper{
    width: 100%;
    background-color: #fff;
    .header-box{
        width: 1240px;
        margin: 0 auto;
        .header-nav-search{
            height: 36px;
            padding: 30px 0 36px;
            width: 100%;
            .logo{
                display: block;
                float: left;
                width: 180px;
                height: 100%;
                margin-right: 10px;
                .icon-logo{
                    display: block;
                    background-image: url(../images/index01.png);
                    background-repeat: no-repeat;
                    background-size: contain;
                    background-position: center;
                    width: 100%;
                    height: 100%;
                }
            }
            .header-box-title{
                border-left: 1px solid #979797;
                font-size: 18px;
                font-weight: 400;
                color: #333;
                padding-left: 8px;
                line-height: 24px;
                margin-top: 6px;
                float: left;
            }
        }
    }
}
// 网页购物车商品区域
.cartApp{
    width: 100%;
    .gCart{
        width: 1240px;
        min-height: 300px;
        margin: 19px auto 29px;
        .kongcart{
            .cartEmptyx{
                height: 520px;
                overflow: hidden;
                .wrapper{
                    height: 206px;
                    width: 640px;
                    margin: 157px auto 0;
                    position: relative;
                    .kongCart-img{
                        width: 295px;
                        height: 206px;
                        vertical-align: middle;
                    }
                    p{
                        font-size: 28px;
                        color: #bebebe;
                        position: absolute;
                        top: 80px;
                        left: 340px;
                    }
                    .goshopping{
                        display: block;
                        width: 120px;
                        height: 40px;
                        background-color: #FC673E;
                        color: #fff;
                        font-size: 20px;
                        text-align: center;
                        line-height: 40px;
                        position: absolute;
                        top: 150px;
                        left: 340px;
                    }
                }
            }
        }
    }
}
// 网页商城简介区域
.helper-floor{
        width: 100%;
        background-color: #fff;
        .footer-box{
            margin: 0 auto;
            width: 1240px;
            padding: 60px 0;
            .helper-box{
                float: left;
                margin-right: 100px;
                .helper-title{
                    font-size: 18px;
                    font-weight: 700;
                    line-height: 30px;
                    margin-bottom: 27px;
                }
                .helper-text{
                    display: block;
                    font-size: 14px;
                    line-height: 24px;
                    margin-bottom: 6px;
                }
            }
            .about-box{
                width: 320px;
                .follow-box{
                    border-top: 1px solid #666;
                    line-height: 30px;
                    margin-top: 20px;
                    padding-top: 19px;
                }
            }
            .lnk-box{
                .helper-text{
                    color: #666;
                }
            }
            .contact-box{
                float: right;
                border-left: 1px solid #979797;
                min-height: 230px;
                text-align: center;
                width: 300px;
                margin-right: 0;
                .big-text{
                    font-weight: 700;
                    font-size: 28px;
                    line-height: 30px;
                }
                .small-text{
                    color: #999;
                    font-size: 14px;
                    line-height: 30px;
                }
            }
        }
}
// 版权区域
.copyright-floor{
    width: 100%;
    background: #333;
    color: #fff;
    .footer-box{
        margin: 0 auto;
        width: 1240px;
        .service-policy-list{
            border-bottom: 1px solid #666;
            padding: 25px 0;
            text-align: center;
            .policy-item{
                color: #fff;
                display: inline-block;
                font-size: 24px;
                line-height: 30px;
                margin-right: 150px;
                vertical-align: top;
            }
        }
        .copyright-line{
            font-size: 14px;
            line-height: 20px;
            padding: 18px 0 21px;
            text-align: center;
            a{
                color: #fff;
            }
        }
    }
}